package com.googlecode.contests_repo.validation;

/**
 * A representation of a contest.
 * 
 * @author joro, petko
 * 
 */
public class Contest {
	private String format;
	private String title;
	private String startTime;
	private int duration;
	private String about;
	private String gradingStyle;
	private int[] problemScores;
	private String[] problemOrder;
	private String notes;

	/**
	 * Gets the json file format.
	 * 
	 * @return the format
	 */
	public String getFormat() {
		return format;
	}

	/**
	 * Sets the json file format.
	 * 
	 * @param format
	 *            the format to set
	 */
	public void setFormat(String format) {
		this.format = format;
	}

	/**
	 * Gets the contest title.
	 * 
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * Sets the contest title.
	 * 
	 * @param title
	 *            the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * Gets the contest starting time.
	 * 
	 * @return the startTime
	 */
	public String getStartTime() {
		return startTime;
	}

	/**
	 * Sets the contest starting time.
	 * 
	 * @param startTime
	 *            the startTime to set
	 */
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	/**
	 * Gets the contest duration.
	 * 
	 * @return the duration
	 */
	public int getDuration() {
		return duration;
	}

	/**
	 * Sets the contest duration.
	 * 
	 * @param duration
	 *            the duration to set
	 */
	public void setDuration(int duration) {
		this.duration = duration;
	}

	/**
	 * Gets the contest about.
	 * 
	 * @return the about
	 */
	public String getAbout() {
		return about;
	}

	/**
	 * Sets the contest about.
	 * 
	 * @param about
	 *            the about to set
	 */
	public void setAbout(String about) {
		this.about = about;
	}

	/**
	 * Gets the contest grading style.
	 * 
	 * @return the gradingStyle
	 */
	public String getGradingStyle() {
		return gradingStyle;
	}

	/**
	 * Sets the contest grading style.
	 * 
	 * @param gradingStyle
	 *            the gradingStyle to set
	 */
	public void setGradingStyle(String gradingStyle) {
		this.gradingStyle = gradingStyle;
	}

	/**
	 * Gets the problem scores.
	 * 
	 * @return the problemScores
	 */
	public int[] getProblemScores() {
		return problemScores;
	}

	/**
	 * Sets the problem scores.
	 * 
	 * @param problemScores
	 *            the problemScores to set
	 */
	public void setProblemScores(int[] problemScores) {
		this.problemScores = problemScores;
	}

	/**
	 * Gets the problem order.
	 * 
	 * @return the problemOrder
	 */
	public String[] getProblemOrder() {
		return problemOrder;
	}

	/**
	 * Sets the problem order.
	 * 
	 * @param problemOrder
	 *            the problemOrder to set
	 */
	public void setProblemOrder(String[] problemOrder) {
		this.problemOrder = problemOrder;
	}

	/**
	 * Gets contest notes.
	 * 
	 * @return the notes
	 */
	public String getNotes() {
		return notes;
	}

	/**
	 * Sets contest notes.
	 * 
	 * @param notes
	 *            the notes to set
	 */
	public void setNotes(String notes) {
		this.notes = notes;
	}

}
